package com.woniuxy.light_smart.service.imp;

import com.woniuxy.light_smart.dto.PollingDto;
import com.woniuxy.light_smart.entity.Inspection;
import com.woniuxy.light_smart.mapper.InspectionMapper;
import com.woniuxy.light_smart.service.InspectionService;
import com.woniuxy.light_smart.vo.PollingVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：fengsir
 * @date ：Created in 2022/12/6 20:06
 * @description：
 * @modified By：
 * @version: $
 */
@Service
public class InspectionServiceImpl implements InspectionService {
    @Autowired
    private InspectionMapper inspectionMapper;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(Inspection record) {
        return 0;
    }

    @Override
    public int insertSelective(Inspection record) {
        return 0;
    }

    @Override
    public Inspection selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(Inspection record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Inspection record) {
        return 0;
    }

    @Override
    public List<PollingVo> selectAll() {
        return inspectionMapper.selectAll();
    }

    @Override
    public List<PollingVo> selectByLike(PollingDto pollingDto) {
        return inspectionMapper.selectByLike(pollingDto);
    }
}
